home *** CD-ROM | disk | FTP | other *** search
/ NeXTSTEP 3.3 (Developer)…68k, x86, SPARC, PA-RISC] / NeXTSTEP 3.3 Dev Intel.iso / NextDeveloper / Source / GNU / emacs / src / commands.h < prev    next >
C/C++ Source or Header  |  1991-08-22  |  2KB  |  69 lines

  1. /* Definitions needed by most editing commands.
  2.    Copyright (C) 1985 Free Software Foundation, Inc.
  3.  
  4. This file is part of GNU Emacs.
  5.  
  6. GNU Emacs is free software; you can redistribute it and/or modify
  7. it under the terms of the GNU General Public License as published by
  8. the Free Software Foundation; either version 1, or (at your option)
  9. any later version.
  10.  
  11. GNU Emacs is distributed in the hope that it will be useful,
  12. but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  14. GNU General Public License for more details.
  15.  
  16. You should have received a copy of the GNU General Public License
  17. along with GNU Emacs; see the file COPYING.  If not, write to
  18. the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
  19.  
  20.  
  21. #define Ctl(c) ((c)&037)
  22.  
  23. /* Define the names of keymaps, just so people can refer to them in calls to defkey */
  24.  
  25. extern Lisp_Object Vglobal_map;
  26.  
  27. extern Lisp_Object Vesc_map;
  28.  
  29. extern Lisp_Object Vctl_x_map;
  30.  
  31. extern Lisp_Object Vminibuffer_local_map;
  32.  
  33. extern Lisp_Object Vminibuffer_local_ns_map;
  34.  
  35. /* keymap used for minibuffers when doing completion */
  36. extern Lisp_Object Vminibuffer_local_completion_map;
  37.  
  38. /* keymap used for minibuffers when doing completion and require a match */
  39. extern Lisp_Object Vminibuffer_local_must_match_map;
  40.  
  41. /* Last character of last key sequence.  */
  42. extern int last_command_char;
  43.  
  44. /* Command character to be re-read, or -1 */
  45. extern int unread_command_char;
  46.  
  47. /* Previous command symbol found here for comparison */
  48. extern Lisp_Object last_command;
  49.  
  50. /* Nonzero means ^G can quit instantly */
  51. extern int immediate_quit;
  52.  
  53. /* Character that causes a quit.  Normally C-g.  */
  54. extern int quit_char;
  55.  
  56. extern Lisp_Object Vexecuting_macro;
  57.  
  58. /* Nonzero if input is coming from the keyboard */
  59. #define FROM_KBD (NULL (Vexecuting_macro) && !noninteractive)
  60.  
  61. /* Set this nonzero to force reconsideration of mode line. */
  62.  
  63. extern int update_mode_lines;
  64.  
  65. /* Nonzero means reading single-character input with prompt
  66.    so put cursor on minibuffer after the prompt.  */
  67.  
  68. extern int cursor_in_echo_area;
  69.